<?php slot('title', __('Last added')) ?>
<br />
<div class="section_w940">
    <div class="header"><?php echo __('Last added jobs') ?></div>
    <?php foreach ($lastJobs as $k => $job): ?>
        <div class="box margin_r30 <?php echo $k % 2 == 0 ? 'box_border' : '' ?> ">
            <h2><?php echo $job ?></h2>
            <div class="box_image_wrapper">
                <img src="/images/229/job_icon.png" alt="product 1" />
            </div>
            <p><?php echo $job->getDescription() ?></p>

            <div class="cleaner_h10"></div>
            <div class="button_01"><a href="<?php echo url_for('ViewJob',array('jtitle'=>$job->getTitle())) ?>"><?php echo __('View job') ?></a></div>
        </div>
        <?php if ($k % 2 > 0): ?>
            <div class="box_clear"></div>
        <?php endif ?>
    <?php endforeach; ?>
    <div class="cleaner"></div>
</div>
<br />

<div class="section_w940">
    <div class="header"><?php echo __('Last added job requests') ?></div>
    <?php foreach ($lastJobRequests as $k => $jobRequest): ?>
        <div class="box margin_r30 <?php echo $k % 2 == 0 ? 'box_border' : '' ?> ">
            <h2><?php echo $jobRequest ?></h2>
            <div class="box_image_wrapper">
                <img src="/images/229/job_request_icon.png" alt="product 1" />
            </div>
            <p><?php echo $jobRequest->getDescription() ?></p>

            <div class="cleaner_h10"></div>
            <div class="button_01"><a href="<?php echo url_for('ViewJobRequest',array('jtitle'=>$job->getTitle()))?>"><?php echo __('View job request') ?></a></div>
        </div>
        <?php if ($k % 2 > 0): ?>
            <div class="box_clear"></div>
        <?php endif ?>
    <?php endforeach; ?>
    <div class="cleaner"></div>

</div>
